//
//  GiftPageView.h
//  MindBox
//
//  Created by MS on 16-1-8.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Gift_Goods_Model.h"
#import "GiftPageModel.h"
#import "GiftPage_Sel_Model.h"
#import "BottomView.h"
#import "SelectView.h"
#import "UIView+Frame.h"
@class GiftPageView;
@protocol GiftPageViewDelegate <NSObject>

/**
 *  轮播代理
 *
 *
 */
@optional
-(void)giftAdsViewDidClick:(GiftPageView *)giftView banner:(Gift_Banner *)banner index:(NSInteger)index;

-(void)giftLabelViewDidClick:(GiftPageView *)giftView label:(Gift_Label *)label index:(NSInteger)index;

-(void)giftReguessGoodsViewDidClick:(GiftPageView *)giftView goods:(Gift_Goods *)goods index:(NSInteger)index;

-(void)giftSelViewDidClick:(GiftPageView *)giftView selTopic:(Gift_SeleData *)seleTopic index:(NSInteger)index;

-(void)giftCollectionViewDidClick:(GiftPageView *)giftView itemGoods:(Gift_ItemGoods *)goods index:(NSInteger)index;

-(void)giftSelectedViewDidClick:(GiftPageView *)giftView selectItem:(Gift_Cat_Id *)cat_id index:(NSInteger)index;
@end

@interface GiftPageView : UIView <SelectViewDelegate>
@property (nonatomic,weak) BottomView * bottomView;
@property (nonatomic,weak) SelectView * gift_selectView;

@property (nonatomic,strong) GiftPageData * giftPageData;
@property (nonatomic,strong) NSArray * gift_ItemGoods;
@property (nonatomic,strong) NSArray * gift_SelData;
@property (nonatomic,weak) UICollectionView * collectionView;
@property (nonatomic,weak) id<GiftPageViewDelegate>delegate;
@end
